package cn.wolfcode.wms.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import lombok.Getter;
import lombok.Setter;
@Setter@Getter
public class OrderBill extends BaseDomain{

	public static final int STATUS_NORMAL = 0;
	public static final int STATUS_AUDITED = 1;
	
    private String sn;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date vdate;

    private int status = STATUS_NORMAL;

    private BigDecimal totalAmount;

    private BigDecimal totalNumber;

    private Date auditTime;

    private Date inputTime;

    private Employee inputUser;

    private Employee auditor;

    private Supplier supplier;

    private List<OrderBillItem> items = new ArrayList<>();
}